package com.itheima.pojo.vo.dishVo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author tcotk
 * @date 2022/6/26 15:46
 */
@Data
@TableName("dish")
public class GetDishVo {
    private String id;
    private String name;
    private String type;
    private BigDecimal price;
    private String code;
    private String image;
    private String description;
    private Integer status;
    private Integer sort;
    @TableField("category_id")
    private String categoryId;
    @TableField("create_time")
    private LocalDateTime createTime;
    @TableField("update_time")
    private  LocalDateTime updateTime;
    @TableField("create_user")
    private String createUser;
    @TableField("update_user")
    private  String updateUser;
    private List<GetDishFlavors> flavors;
    @TableField("create_name")
    private String createName;
    private Integer copies;
}
